@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

:root{
    --primary-color: #00369a;
    --error-color: #dc3545;
    --success-color: #28a745;
    --warning-color: #ffc107;
}
    

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size:16px;
    line-height: 1.8;
    background-color:#fff;
    margin: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

a{
    color: var(--primary-color);
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}


header{
    margin: 1rem auto;
    display:flex;
    justify-content: center;
    align-items: center;
}

.container {
    margin: 0 auto;
    max-width: 768px;
}


h1 {
    padding: 5px 0;
    font-size: 1.7rem;
    color: #111;
}

textarea {
    padding: 10px;
    font-size: 14px;
    border: solid 2px #f0f0f0;
    border-radius: 1rem;
    outline: none;
    width: 100%;
}

textarea:focus {
    border: solid 2px #f0f0f0;
    box-shadow: 0 0 5px #f0f0f0;
}


label {
    display: block;
    width: 100%;
}

.highlight{
    font-weight: bold;
}
.container{
    background-color: #fff;
    width: 400px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    padding: 1em;
}
.form{
    padding: 10px 20px;
}
.form h1{
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 20px;
}
.form-field{
    margin-bottom: 6px;
}
.form-field label{
    display: block;
    color: #444;
    margin-bottom: 5px;
}
.form-field input{
    width: 100%;
    margin-bottom: 10px;
    border: solid 2px #f0f0f0;
    border-radius: 3px;
    padding: 10px;
    font-size: 14px;
    outline: none;
}
.form-field small{
    color: #dc3545;
}
.form-field.error input{
    border: solid 2px #dc3545;
}
.form-field input[type="submit"],
.form-field button{
    width: 100%;
    border: solid 2px #f0f0f0;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 5px;
    font-size: 14px;
    display: block;
    background-color: #0069d9;
}
.btn{
    color: #fff;
    cursor: pointer;
    /* text-transform: uppercase; */
}
.form-field.success input {
    border-color: var(--success-color);
}
.form-field.error input {
    border-color: var(--error-color);
}